package com.auto.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableAsync
@EnableFeignClients(basePackages = {"com.auto.api.*.api"})
@EnableAspectJAutoProxy
@EnableTransactionManagement
@SpringBootApplication(scanBasePackages = {"com.auto.admin"})
public class AdminApplication {

    public static void main(String[] args){
        SpringApplication.run(AdminApplication.class, args);
    }
}
